SftTree/OCX 7.0

SftTree.RowText Property

Softel vdm, Inc.

Defines an item's row header text.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.Text instead

Syntax       

Get

VB.NET

Text = object.get_RowText(ByVal ItemIndex As Integer)  As String

VB

Text = object.RowText(ByVal ItemIndex As Long)  As String

C#.NET

string Text = object.get_RowText(int ItemIndex);

VC++

_bstr_t Text = object->RowText[long ItemIndex];
_bstr_t Text = object->GetRowText(long ItemIndex);

C

HRESULT object->get_RowText(long ItemIndex, BSTR* Text);

Delphi

Text := object.RowText[ItemIndex : Integer]   : WideString;

Put

VB.NET

object.set_RowText(ByVal ItemIndex As Integer, ByVal Text As String)

VB

object.RowText(ByVal ItemIndex As Long) = Text  As String

C#.NET

void object.set_RowText(int ItemIndex, string Text);

VC++

_bstr_t object->RowText[long ItemIndex] = Text;
void object->PutRowText(long ItemIndex, _bstr_t Text);

C

HRESULT object->put_RowText(long ItemIndex, BSTR Text);

Delphi

object.RowText[ItemIndex : Integer] := Text   : WideString;

object

A SftTree object.

ItemIndex

The zero-based item index.

Text

Defines the item's row header text.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.Text instead

The RowText property defines an item's row header text.

The Items.Add and Items.Insert methods add new items.  The default text of the row header depends on the RowHeaders.Appearance property.

Row headers can support multiple text lines (see RowHeaders.Lines) by using new-line characters (CR-LF) to start a new line.  Word-wrap is not supported.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.  A row header can override the default using the RowHeader.TextHAlign and RowHeader.TextVAlign properties.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com